{"version":3,"sources":["socialvideo.bundle.js"],"names":["exports","ui_fonts_opensans","ui_vue_directives_lazyload","main_polyfill_intersectionobserver","ui_vue","main_core_events","_State","Object","freeze","play","pause","stop","none","BitrixVue","component","props","id","default","src","preview","autoplay","containerClass","containerStyle","elementStyle","showControls","data","preload","previewLoaded","loaded","loading","playAfterLoad","enterFullscreen","playBeforeMute","state","progress","timeCurrent","timeTotal","muteFlag","created","this","$Bitrix","eventEmitter","subscribe","onUnmute","mounted","getObserver","observe","$refs","body","beforeDestroy","unsubscribe","unobserve","watch","value","registeredId","methods","loadFile","arguments","length","undefined","clickToButton","event","stopPropagation","clickToMute","mute","unmute","click","autoPlayDisabled","isMobile","source","webkitEnterFullscreen","requestFullscreen","$emit","muted","emit","initiator","setProgress","percent","formatTime","second","Math","floor","hour","minute","toString","padStart","getData","videoEventRouter","eventName","duration","console","error","currentTime","round","_this","observer","IntersectionObserver","entries","forEach","entry","isIntersecting","threshold","lazyLoadCallback","element","computed","State","showStartButton","showInterface","labelTime","time","UA","navigator","userAgent","toLowerCase","includes","template","window","BX","Event"],"mappings":"CAAC,SAAUA,EAAQC,EAAkBC,EAA2BC,EAAmCC,EAAOC,GACzG,aAWA,IAAIC,EAASC,OAAOC,OAAO,CACzBC,KAAM,OACNC,MAAO,QACPC,KAAM,OACNC,KAAM,SAGRR,EAAOS,UAAUC,UAAU,iBAAkB,CAC3CC,MAAO,CACLC,GAAI,CACFC,QAAW,GAEbC,IAAK,CACHD,QAAW,IAEbE,QAAS,CACPF,QAAW,IAEbG,SAAU,CACRH,QAAW,MAEbI,eAAgB,CACdJ,QAAW,MAEbK,eAAgB,CACdL,QAAW,MAEbM,aAAc,CACZN,QAAW,MAEbO,aAAc,CACZP,QAAW,OAGfQ,KAAM,SAASA,IACb,MAAO,CACLC,QAAS,OACTC,cAAe,MACfC,OAAQ,MACRC,QAAS,MACTC,cAAe,MACfC,gBAAiB,MACjBC,eAAgB,EAChBC,MAAO3B,EAAOM,KACdsB,SAAU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